package com.gerry.demo;

public class Student {
	
	private String message;
	
	public void setMessage(String message) {
		this.message = message;
	}

	public Student() {
		System.out.println("student->instance");
	}
	
	public Student(String name) {
		System.out.println("student->instance");
		System.out.println("name =" + name);
	}

	public Student(int i, String name) {
		System.out.println("student->instance");
		System.out.println("i="+i+", name =" + name);
	}
	
	public Student(int i, String name, String name1) {
		System.out.println("student->instance");
		System.out.println("i="+i+", name =" + name+", name1 =" + name1);
	}
	
	public void printMessage() {
		System.out.println(message+"===============");
	}
	
}
